package com.coolingme.limit;

/**
 * 继承Animal
 *
 * @author wangyue
 * @date 2019/4/4 11:01
 */
public class Dog extends Animal {

    private Dog dog;

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }

    public void hello() {
        System.out.println("这是一只狗");
    }
}
